package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/LogOperation.class */
public class LogOperation {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("用户IP")
    private String userIp;
    @ApiModelProperty("操作类型")
    private int operType;
    @ApiModelProperty("主键")
    private String operEvent;
    @ApiModelProperty("请求url")
    private String operUrl;
    @ApiModelProperty("操作时间")
    private String operDateTime;

    public void setId(String id) {
        this.id = id;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public void setOperType(int operType) {
        this.operType = operType;
    }

    public void setOperEvent(String operEvent) {
        this.operEvent = operEvent;
    }

    public void setOperUrl(String operUrl) {
        this.operUrl = operUrl;
    }

    public void setOperDateTime(String operDateTime) {
        this.operDateTime = operDateTime;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof LogOperation)) {
            return false;
        }
        LogOperation other = (LogOperation) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$userName = getUserName();
        Object other$userName = other.getUserName();
        if (this$userName == null) {
            if (other$userName != null) {
                return false;
            }
        } else if (!this$userName.equals(other$userName)) {
            return false;
        }
        Object this$userIp = getUserIp();
        Object other$userIp = other.getUserIp();
        if (this$userIp == null) {
            if (other$userIp != null) {
                return false;
            }
        } else if (!this$userIp.equals(other$userIp)) {
            return false;
        }
        if (getOperType() != other.getOperType()) {
            return false;
        }
        Object this$operEvent = getOperEvent();
        Object other$operEvent = other.getOperEvent();
        if (this$operEvent == null) {
            if (other$operEvent != null) {
                return false;
            }
        } else if (!this$operEvent.equals(other$operEvent)) {
            return false;
        }
        Object this$operUrl = getOperUrl();
        Object other$operUrl = other.getOperUrl();
        if (this$operUrl == null) {
            if (other$operUrl != null) {
                return false;
            }
        } else if (!this$operUrl.equals(other$operUrl)) {
            return false;
        }
        Object this$operDateTime = getOperDateTime();
        Object other$operDateTime = other.getOperDateTime();
        return this$operDateTime == null ? other$operDateTime == null : this$operDateTime.equals(other$operDateTime);
    }

    protected boolean canEqual(Object other) {
        return other instanceof LogOperation;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $userName = getUserName();
        int result2 = (result * 59) + ($userName == null ? 43 : $userName.hashCode());
        Object $userIp = getUserIp();
        int result3 = (((result2 * 59) + ($userIp == null ? 43 : $userIp.hashCode())) * 59) + getOperType();
        Object $operEvent = getOperEvent();
        int result4 = (result3 * 59) + ($operEvent == null ? 43 : $operEvent.hashCode());
        Object $operUrl = getOperUrl();
        int result5 = (result4 * 59) + ($operUrl == null ? 43 : $operUrl.hashCode());
        Object $operDateTime = getOperDateTime();
        return (result5 * 59) + ($operDateTime == null ? 43 : $operDateTime.hashCode());
    }

    public String toString() {
        return "LogOperation(id=" + getId() + ", userName=" + getUserName() + ", userIp=" + getUserIp() + ", operType=" + getOperType() + ", operEvent=" + getOperEvent() + ", operUrl=" + getOperUrl() + ", operDateTime=" + getOperDateTime() + PoiElUtil.RIGHT_BRACKET;
    }

    public String getId() {
        return this.id;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getUserIp() {
        return this.userIp;
    }

    public int getOperType() {
        return this.operType;
    }

    public String getOperEvent() {
        return this.operEvent;
    }

    public String getOperUrl() {
        return this.operUrl;
    }

    public String getOperDateTime() {
        return this.operDateTime;
    }
}